﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;

namespace Ninesky.Web.Pages
{
    public class IndexModel : PageModel
    {
        public IActionResult OnGet()
        {
            var aa = HttpContext.RequestServices;

            //ApiClient apiClient = new ApiClient();
            //var aa = await apiClient.SendAsync<string>(HttpMethod.Get, "http://localhost:59096/api/Category", "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE1MjYwMTMxNTUsImlzcyI6Ik5pbmVza3kifQ.YEMp5lpJ9pbCNJOLzQqrCuP1-ovlCYAgvYt7LWaVFsE",null);
            return Page();
        }
    }
}
